\begin{figure}[t]
\centering
\begin{minipage}{.24\linewidth}
Partial tree\\[5pt]
%\raisebox{-70pt}{
\includegraphics[scale=.8]{figures/figures-3.pdf}
%}
\end{minipage}
\quad
\begin{minipage}{.42\linewidth}
BFS-array \\[5pt]
\begin{tabular}{c|lcrrrr}
\hline
index   & tag             & type &  st & ed  & par    &  ch \\
\hline
1  & 5 (\texttt{r})  & N-OO &  0  & 196 &   0    &  2  \\
2  & 2 (\texttt{b})  & N-OO & 42  & 142 &   1    &  3  \\
3  & 4 (\texttt{d})  & N-OC & 45  &  81 &   2    &  6  \\
4  & 1 (\texttt{a})  & N-CC & 81  &  95 &   2    &  8  \\
5  & 4 (\texttt{d})  & N-CO & 95  & 124 &   2    &  9  \\
6  & 3 (\texttt{c})  & N-CC & 48  &  59 &   3    &  9  \\
7  & 4 (\texttt{d})  & N-CC & 59  &  77 &   3    & 10  \\
8  & 6 (\texttt{at}) & A    & 88  &  88 &   4    & 11  \\
9  & 0               & T    & 51  &  55 &   6    & 11  \\
10 & 3 (\texttt{c})  & N-CC & 62  &  73 &   7    & 11  \\
11 & 0               & T    & 65  &  69 &  10    & 12  \\
\hline
\end{tabular}
\end{minipage}
\quad
\begin{minipage}[b]{.2\linewidth}
Grouped-array \\[5pt]
\begin{tabular}{c|l}
\hline
 tag  &   index           \\
\hline
0  &  $[9, 11]$ \\
1  &  $[4]$ \\
2  &  $[2]$ \\
3  &  $[6]$  \\
4  &  $[3,5,7]$  \\
5  &  $[1]$  \\
6  &  $[8]$  \\
\hline
\end{tabular}
\end{minipage}
\caption{A partial tree and its representation with two arrays}
\label{fig:2arrays}
\end{figure}
